﻿<%@ Page Title="Programare" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"  Inherits="Programare"  CodeFile="Programare.aspx.cs" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    
    <div class="contactform rounded">
    <h3 class="auto-style5">Programare</h3>
        <p>Pentru a vizualiza dacă sunt intervale disponibile la misiunea de care aparțineți, selectați serviciul și data dorită:
            <span class="auto-style6">(Pe această pagină nu puteți să vă programați, vă puteți doar informa despre orele disponibile)
            </span>
        </p>
    <div class="field">
            <label for="countryMission"><asp:Label ID="Label1" runat="server"  Text="Alegeți țara: "></asp:Label></label>
            <asp:DropDownList ID="tariDDL" runat="server" CssClass="input" 
                AutoPostBack="True" 
                onselectedindexchanged="countryMissionDropDownList_SelectedIndexChanged" 
                Width="260px"></asp:DropDownList>
               
            <br />
            <br />
    </div><!-- country mission -->
    <div class="field">
            <label for="localityDom"><asp:Label ID="localityDomLabel" runat="server" 
                Text="Alegeți provincia: "></asp:Label></label>
            <asp:DropDownList ID="judeteDDL" runat="server" CssClass="input" AutoPostBack="True"
                onselectedindexchanged="judeteDDL_SelectedIndexChanged" 
                ></asp:DropDownList>
            
            <br />
    </div><!-- county domiciliu -->
    <div class="field">
            <asp:HiddenField ID="idConsulatHiddenField" runat="server" />
            <br />
            <label for="nameMission"><asp:Label ID="TextLabel" runat="server" Text="Misiunea dvs. este:"></asp:Label></label>
            
            <label for="nameMission"><asp:Label ID="nameConsulatLabel" runat="server" CssClass="left_text"
                Text="----" Width="280px"></asp:Label></label>
            <br />
            <br />
   </div>
   <div class="field">
    <label for="field4"><asp:Label ID="ServiciuRegForm3Label" runat="server" Text="Alegeți serviciul consular: "></asp:Label></label>
    <asp:DropDownList ID="servicesDDL" runat="server" CssClass="input" Height="30px" 
           Width="260px" ></asp:DropDownList>
    
       <br />
       <br />
   </div>
   <div class="field">
    <label for="field5"><asp:Label ID="DataRegForm3Label" runat="server" 
           Text="Alegeți data programării: "></asp:Label></label>
    <asp:Calendar ID="RegForm3Calendar" runat="server" 
           ondayrender="RegForm3Calendar_DayRender" 
           onselectionchanged="RegForm3Calendar_SelectionChanged" Width="224px"></asp:Calendar>
   </div>
            <label for="field6"><asp:Label ID="OreRegForm3Label" runat="server"  
            Text="Intervale orare disponibile:"></asp:Label></label>
        <br />
         <p>   <% Response.Write(tabelOreDisponibile); %></p></div>
</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="HeadContent">
    <style type="text/css">       
        .auto-style4 {
            color: #333333;
            width: 959px;
            height: 24px;
        }
        .auto-style5 {
            color: #189AAD;
            font-size: large;
        }
        .left_text
        {
            text-align: left;
        }
        .auto-style6 {
            font-size: x-small;
        }
    </style>
</asp:Content>
